package cn.group7.padserver.service;

import cn.group7.padserver.entity.ShoppingModel;
import cn.group7.padserver.pojo.ShoppingCart;

import java.util.List;

/**
 * @author 谷汉斌
 * @description
 * @createTime 2024/8/4 下午3:22
 */
public interface ShoppingCartService {

    List<ShoppingModel> selectByUserOrderId(Integer id);

    boolean update(ShoppingCart shoppingcart);

    boolean add(ShoppingCart shoppingcart);

    boolean delete(Integer id);

    List<ShoppingModel> selectByUsername();
}
